package edu.fiu.cis.nursing.client;

import java.util.ArrayList;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

import edu.fiu.cis.nursing.shared.NursingRecord;
import edu.fiu.cis.nursing.shared.Query;
import edu.fiu.cis.nursing.shared.UserToken;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("greet")
public interface NursingService extends RemoteService {
	ArrayList<NursingRecord> search(Query query) throws IllegalArgumentException;
	
	NursingRecord load(String code);
	
	UserToken validateCookie(String cookie);
	
	UserToken loginUser(String userId,String password);
}
